using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Data;
using System.Data.SqlClient;
using System.Data.SQLite;

namespace Data.Configuration
{
    public class Context
    {
        #region Eventos
        public Context()
        {

        }

        #endregion
        #region Metodos

        //public string GetNewDatabaseConnection()
        //{
        //    string dato = (System.Configuration.ConfigurationManager.AppSettings["EMailSpamCheck"].ToString());
        //    return dato;
        //}
        public SQLiteConnection GetNewDatabaseConnection()
        {
            //string dato = (System.Configuration.ConfigurationManager.AppSettings["Conn"].ToString());
            string connString = System.Configuration.ConfigurationManager.ConnectionStrings["VisitadorSQLite"].ToString();
            return new SQLiteConnection(connString);
       
        }
      
        #endregion
    }
}
